import math

def add(a: int, b: int)-> int:
    """
    加法运算
    """
    return a + b

def subtract(a:int, b:int)->int:
    """
    减法运算
    """
    return a - b

def ride(a:int, b:int)-> int:
    """
    乘法运算
    """
    return a * b

def divide(a:int, b:int)-> int:
    """
    除法运算
    """
    return a / b

def double_div(a:int, b:int)-> int:
    """
    整除运算
    """
    return a // b

def surplus(a:int, b:int)-> float:
    """
    取余运算
    """
    return a % b

def excract(a:int):
    """
    开方运算
    """
    return math.sqrt(a)


if __name__ == "__main__":
    result1 = add(1, 2)
    print(result1)

    result2 = subtract(5, 2)
    print(result2)

    result3 = ride(3, 2)
    print(result3)

    result4 = divide(5, 2)
    print(result4)

    result5 = double_div(5, 2)
    print(result5)

    result6 = surplus(10, 5)
    print(result6)

    result7 = excract(2)
    print(result7)